Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make test run on german locale. #52

Merged
merged 1 commit into from
Apr 13, 2012
Merged

Conversation

bpieber
Copy link
Contributor

@bpieber bpieber commented Apr 13, 2012

Hi Douglas,

Out of the box the test failed with the exception below. We think it may be because of my German locale. Our change makes the test green.

Thanks for providing the code!

Cheers,
Bernhard & Görge

java.util.MissingResourceException: Can't find bundle for base name org.json.tests.SampleResourceBundle, locale en
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:952)
at org.json.JSONObject.(JSONObject.java:321)
at org.json.tests.TestJSONObject.testConstructor_UsResourceBundle(TestJSONObject.java:690)

douglascrockford added a commit that referenced this pull request Apr 13, 2012
Make test run on german locale.
@douglascrockford douglascrockford merged commit d99ecc4 into stleary:master Apr 13, 2012
@douglascrockford
Copy link
Contributor

Thanks.

@bpieber
Copy link
Contributor Author

bpieber commented Apr 13, 2012

Thanks for merging so fast! We are amazed.

BGehrels pushed a commit to BGehrels/JSON-java that referenced this pull request Apr 29, 2020
updates Test cases to support new JSONML and XML conversion options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants